From b7f3b1916e07c04c649ec438e85044efcf84d67f Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Tue, 9 Oct 2018 04:57:28 +0000 Subject: [PATCH] Parallelize CLI and GUI make. testo and vtesto are harder. --- Makefile.in | 2 +- build_and_test | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 9decf2320..246e043dc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -393,7 +393,7 @@ rpm: changes.html tools/mkrpm $(WEB) $(VERSD) $(RELEASE) gui: gpsbabel$(EXEEXT) - cd gui ; $(QMAKE) app.pro && make + cd gui ; $(QMAKE) app.pro && $(MAKE) $(MAKEFLAGS) cd gui ; $(LUPDATE) app.pro cd gui ; $(LRELEASE) app.pro diff --git a/build_and_test b/build_and_test index 6e654bedc..719d307e5 100755 --- a/build_and_test +++ b/build_and_test @@ -24,6 +24,10 @@ touch internal_styles.cc export GBTEMP=$(pwd)/gbtemp mkdir -p $GBTEMP ./configure --with-doc=$(pwd)/gpsbabel_docdir +# As of 2018-10, all the virtualized travis build images are two cores per: +# https://docs.travis-ci.com/user/reference/overview/ +# We'll be slightly abusive on CPU knowing that I/O is virtualized. +export MAKEFLAGS=-j3 make toolinfo make clean make -- 2.30.2